org.eclipse.vtp.framework.interactions.core.conversation
Interface IInteraction

All Known Subinterfaces:
IBridgeMessage, IDataRequest, IEndMessage, IExternalReference, IFinal, IInitial, IInputRequest, IMetaDataMessage, IMetaDataRequest, IOutputMessage, ISelectionRequest, ITransferMessage

public interface IInteraction

Base type for conversational interactions.

Author:
Lonnie Pryor

Method Summary
 boolean enqueue()
          Enqueues this interaction for evaluation by the process controller.
 boolean process()
          Enqueues this interaction and waits for it to be processed.
 

Method Detail

enqueue

boolean enqueue()
Enqueues this interaction for evaluation by the process controller.

Returns:
True if this interaction was accepted into the queue.

process

boolean process()
                throws java.lang.IllegalStateException
Enqueues this interaction and waits for it to be processed.

Returns:
True if this interaction was accepted into the queue and processed.
Throws:
java.lang.IllegalStateException - If the process controller is not in the blocking state.